package com.scoresystem.web.ui.view;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONObject;
/**
 * 供前端界面展示的共用接口
 *
 */
public interface IShowable {
	/**
	 * 
	 * @param json 想返回给客户端的json对象
	 * @param request 
	 * @param response
	 * @throws ServletException
	 * @throws IOException
	 */
	public void showView(JSONObject json,HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException;
}
